<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Semantic Search</title>
    <link href="static/style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="static/jquery.min.js"></script>
    <script type="text/javascript" src="static/script.js"></script>
</head>
<body>
    <div class="header">
        <h1>Semantic Search</h1>
        <div id="query">
            <div><input type="text"></div>
            <button id="query-btn">Query</button>
        </div>
    </div>
    <div class="main-content">
        <ul id="result-list">
        </ul>
        <div id="pagination">
        </div>
    </div>
    <script type="text/javascript">
    	var btn = $('#query-btn');
		queryView.init();
		btn.click(function () {
			var parts = location.href.split('#');
			location.href = parts[0] + '#' + 'query=' + encodeURIComponent($('#query input').val());
			queryView.init();
		})
    </script>
</body>
</html>
